package com.my.simple.service.auth;

import com.my.simple.entity.auth.Operation;

import java.util.List;

public interface OperationService {

    void addOperation(Operation operation);

    List<Operation> getAllOperation();

    Operation getOperationById(Integer operationId);

    void deleteOperationById(Integer operationId);

    void updateOperation(Operation operationItem);

    List<Operation> getNeedPermissionOperation();

    List<Operation> getOperationByRoleId(Integer roleId);

    List<Operation> getOperationByRoleIdList(List<Integer> roleIdList);
}
